/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 26727
 * Date: 2024-05-27
 * Time: 23:32
 */
public class Test12 {
    public static void main(String[] args) {
        String str = "192.168.2.12" ;

        String[] result = str.split("\\.") ;

        for(String s: result) {
            System.out.println(s);
        }
    }
}
